package com.su.kddq.entity.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 用户实体
 * @author sx
 */
@Data
@TableName(value = "userinfo")
public class User {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    private String username;

    private String password;

    private String avatar;

    private Integer rid;

    @TableField(exist = false)
    private Role role;

    @TableField(exist = false)
    private CourierStatus courierStatus;

    private String phone;

    private String cid;











}
